home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / lib / xulrunner-1.9.0.14 / chrome / pippki.jar / content / pippki / device_manager.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-02-20  |  4.9 KB  |  120 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is mozilla.org code.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    - Netscape Communications Corp.
  19.    - Portions created by the Initial Developer are Copyright (C) 2001
  20.    - the Initial Developer. All Rights Reserved.
  21.    -
  22.    - Contributor(s):
  23.    -   Bob Lord <lord@netscape.com>
  24.    -   Ian McGreer <mcgreer@netscape.com>
  25.    -
  26.    - Alternatively, the contents of this file may be used under the terms of
  27.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  28.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  29.    - in which case the provisions of the GPL or the LGPL are applicable instead
  30.    - of those above. If you wish to allow use of your version of this file only
  31.    - under the terms of either the GPL or the LGPL, and not to allow others to
  32.    - use your version of this file under the terms of the MPL, indicate your
  33.    - decision by deleting the provisions above and replace them with the notice
  34.    - and other provisions required by the GPL or the LGPL. If you do not delete
  35.    - the provisions above, a recipient may use your version of this file under
  36.    - the terms of any one of the MPL, the GPL or the LGPL.
  37.    -
  38.    - ***** END LICENSE BLOCK ***** -->
  39.  
  40. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  41.  
  42. <!DOCTYPE dialog [
  43. <!ENTITY % deviceManangerDTD SYSTEM "chrome://pippki/locale/deviceManager.dtd">
  44. %deviceManangerDTD;
  45. <!ENTITY % pippkiDTD SYSTEM "chrome://pippki/locale/pippki.dtd" >
  46. %pippkiDTD;
  47. ]>
  48.  
  49. <dialog id="devicemanager"
  50.     windowtype="mozilla:devicemanager"
  51.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  52.         title="&devmgr.title;"
  53.         style="width: 52em; height: 32em;"
  54.         persist="screenX screenY width height"
  55.         onload="LoadModules();"
  56.         buttons="accept">
  57.  
  58. <script type="application/x-javascript" src="chrome://global/content/strres.js"/>
  59. <script type="application/x-javascript" src="chrome://pippki/content/device_manager.js"/>
  60.  
  61. <grid flex="1" style="margin:5px">
  62.   <columns>
  63.     <column flex="1"/> 
  64.     <column flex="3"/> 
  65.     <column/>
  66.   </columns>
  67.   <rows>
  68.     <row flex="1">
  69.       <vbox> <!-- List of devices -->
  70.         <tree id="device_tree" seltype="single"
  71.               onselect="enableButtons();" hidecolumnpicker="true"
  72.               flex="1" style="min-width: 15em">
  73.           <treecols> 
  74.             <treecol id="deviceCol" flex="1" primary="true" label="&devmgr.devlist.label;"/>
  75.           </treecols>
  76.           <treechildren id="device_list"/>
  77.         </tree>
  78.       </vbox> <!-- / List of devices -->
  79.       <vbox> <!-- Device status -->
  80.         <tree id="info_tree" seltype="single" hidecolumnpicker="true"
  81.               flex="1" style="min-width: 10em">
  82.           <treecols> 
  83.             <treecol id="title1Col" flex="5" primary="true" label="&devmgr.details.title;"/> 
  84.             <treecol id="title2Col" flex="7" label="&devmgr.details.title2;"/> 
  85.           </treecols>
  86.           <treechildren id="info_list"/>
  87.         </tree>
  88.       </vbox> <!-- / Device status -->
  89.       <vbox> <!-- Buttons for manipulating devices -->
  90.         <button id="login_button" 
  91.                 label="&devmgr.button.login.label;"
  92.                 accesskey="&devmgr.button.login.accesskey;"
  93.                 oncommand="doLogin();" disabled="true"/> 
  94.         <button id="logout_button" 
  95.                 label="&devmgr.button.logout.label;"
  96.                 accesskey="&devmgr.button.logout.accesskey;"
  97.                 oncommand="doLogout();" disabled="true"/> 
  98.         <button id="change_pw_button" 
  99.                 label="&devmgr.button.changepw.label;"
  100.                 accesskey="&devmgr.button.changepw.accesskey;"
  101.                 oncommand="changePassword();" disabled="true"/> 
  102.         <button id="load_button" 
  103.                 label="&devmgr.button.load.label;"
  104.                 accesskey="&devmgr.button.load.accesskey;"
  105.                 oncommand="doLoad();"/> 
  106.         <button id="unload_button" 
  107.                 label="&devmgr.button.unload.label;"
  108.                 accesskey="&devmgr.button.unload.accesskey;"
  109.                 oncommand="doUnload();" disabled="true"/> 
  110.         <button id="fipsbutton" 
  111.                 label=""
  112.                 accesskey="&devmgr.button.fips.accesskey;"
  113.                 oncommand="toggleFIPS();"/>
  114.       </vbox> <!-- / Buttons for manipulating devices -->
  115.     </row>
  116.   </rows>
  117. </grid>
  118.  
  119. </dialog>
  120.